<!DOCTYPE xml PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core">
 <ui:component> 
	
			<h:form>
				<table width="100%">
			<tr><td class="icon">
			<h:graphicImage id="image" url="/secure/images/head4.gif" alt="Georgia Judicial Exchange: Bibb County Child Support Client"/>
			<!-- <h:outputLabel id="image" value="Supreme Court E-Filing System" style="font-size: 20; font-style: italic;color:white"/>  -->
				</td>
				
					<!--<td class="userlink" align="right"><h:commandLink value="#{person.firstName} #{person.lastName}" styleClass="personLink" action="#{userProfile.viewProfile}" >
					<h:graphicImage styleClass="personImage" url="/secure/images/personal_16x16.png"  alt="User Profile"/></h:commandLink>
					 &nbsp; &nbsp;</td> -->
					 <td class="logout" align="right"><h:commandButton value="Logout" action="#{menu.logout}" image="/secure/images/logout3.gif" alt="Logout"/></td> 
		
		</tr>

		</table>	
				</h:form>
	

	<h:form>

		<div id="header">
		
		<!-- <ui:component binding="#{menu.menu}"> -->
			<ul id="mainMenu">
				<c:forEach var="link" items="#{menu.menu}">
					 <c:choose>
						<c:when test="#{link.navigationRule == page}">
							<li id="current"><h:commandLink value="#{link.text}" action="#{link.doNavigation}" /></li>
						</c:when>
						<c:otherwise>
							<li><h:commandLink value="#{link.text}" action="#{link.doNavigation}" /></li>
						</c:otherwise> 
					</c:choose> 
				</c:forEach>
			</ul>	
		
		</div>
	
	</h:form>
	<h:form>
	<div class="headsearch">
	<h:message for="searchWord" styleClass="error" />
		<h:inputText id="searchWord" 	value="#{menu.searchWord}"  required="true"/>
						<h:commandButton value="Search" action="#{menu.search}" styleClass="buttonClass"/>		
						</div>
						</h:form>
				
 </ui:component>
</html>

